<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    var person = {
      name: '小明',
      hobby: ['学习', ['打球', '购物'], '跑步']
    }

    var person1 = person

    person1.name = '小刚'
    person1.hobby[0] = '看报'

    console.log(person)
    console.log(person1)
  </script>
</body>
</html>